import request from '@/utils/request'
// 调登录接口
export const login = data => {
  return request({
    method: 'POST',
    url: '/sys/login',
    data
  })
}
// 调用户信息接口
export const getUserInfo = () => {
  return request({
    url: '/sys/profile'
  })
}
// 调取更改验证码接口
export const changePassword = data => {
  return request({
    url: '/sys/user/updatePass',
    method: 'PUT',
    data
  })
}
